package cn.fcq.org.service;

import cn.fcq.org.domain.Shop;
import cn.fcq.basic.service.IBaseService;
import cn.fcq.org.domain.ShopAuditLog;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xuchao
 * @since 2022-06-12
 */
public interface IShopService extends IBaseService<Shop> {
    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 店铺驳回
     * @param log
     */
    void reject(ShopAuditLog log);

    /**
     * 店铺新增
     * @param log
     */
    void pass(ShopAuditLog log);
    /*店铺激活*/
    void activation(Long id);
    /*获取echarts报表数据*/
    Map<String, Object> getEcharts();
    /*导入*/
    void importExcel(MultipartFile file);
    /** 导出 */
    void exportExcel(HttpServletResponse response);
    /** 批量新增 */
    void batchInsert(List<Shop> shops);
}
